package myJs.myPkg.reactBootstrap

import slinky.core.ExternalComponent
import slinky.core.annotations.react
import slinky.core.facade.ReactElement

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport
import scala.scalajs.js.|

/**
 * Created by yz on 12/5/2022
 */

@react object OverlayTrigger extends ExternalComponent {
  case class Props(
                    placement: js.UndefOr[String] = js.undefined,
                    overlay: ReactElement,
                    trigger: String | js.Array[String],
                  )

  @js.native
  @JSImport("react-bootstrap", "OverlayTrigger")
  object Component extends js.Object {


  }

  override val component = Component

}

